package com.yuw.oop;

public class Student2 {
	// 属性【成员变量】

	private String stuName;
	private String stuNo;
	private String stuSchool;
	private String stuSex;
	private String stuScore;

	// 行为【成员方法】
	public void doStuding() {
		System.out.println(this.stuName + " is studing...");
	}

	public void doSleeping() {
		System.out.println(this.stuName + " is sleeping...");
	}

	public void doGaming() {
		System.out.println(this.stuName + " is gaming...");
	}

	////////////// 以下代码系统自动生成//////////////////////

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public String getStuNo() {
		return stuNo;
	}

	public void setStuNo(String stuNo) {
		this.stuNo = stuNo;
	}

	public String getStuSchool() {
		return stuSchool;
	}

	public void setStuSchool(String stuSchool) {
		this.stuSchool = stuSchool;
	}

	public String getStuSex() {
		return stuSex;
	}

	public void setStuSex(String stuSex) {
		this.stuSex = stuSex;
	}

	public String getStuScore() {
		return stuScore;
	}

	public void setStuScore(String stuScore) {
		this.stuScore = stuScore;
	}

}
